package com.wsit.service.impl;

import com.wsit.mapper.TripartiteMapper;
import com.wsit.pojo.Result;
import com.wsit.pojo.Tripartite;
import com.wsit.service.TripartiteService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TripartiteServiceImpl implements TripartiteService {

    @Autowired
    private TripartiteMapper tripartiteMapper;


    @Override
    public List<Tripartite> tripartite() {
        List<Tripartite> tripartite = tripartiteMapper.all();
        return tripartite;
    }
}
